/*form表单*/

.el-row {
    background: #fff;
    margin: 0 !important;
    width: 100%;
    .el-form {
        .el-form-item {
            margin: 0;
            display: inline-block;
            .el-form-item__label {
                padding: 0;
                color: #444;
                font-size: 12px;
                position: relative;
            }
            .el-form-item__content {
                .el-input {
                    max-width: 200px;
                    margin-left: 45px;
                    font-size: 12px;
                    .el-input__inner {
                        height: 28px;
                        line-height: 28px;
                    }
                }
            }
        }
    }
}

.el-input--suffix .el-input__inner {
    height: 28px;
    line-height: 28px;
    padding: 0 0 0 10px;
}


/*表格自定义*/

.el-table {
    padding: 24px 24px 0;
    width: auto;
    td,
    th {
        padding: 0;
    }
    .el-button {
      width: 16px;
      height: 16px;
    }
    .el-table__header-wrapper {
        height: 40px;
        line-height: 40px;
        .el-table__header {
            .has-gutter {
                tr {
                    th {
                        padding: 0;
                        border: 0;
                        .cell {
                            font-size: 14px;
                        }
                    }
                }
            }
        }
    }
    .el-table__body-wrapper {
        color: #666;
        font-size: 12px;
        .el-table__body {
            tbody {
                .el-table__row {
                    height: 40px;
                    line-height: 40px;
                    td {
                        border: 0;
                    }
                }
            }
        }
    }
.el-table__row--striped td{
        background:#f6f6f6 !important;
    }
}

.el-table::before {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0px;
}


/*按钮样式*/

.el-button {
    width: 85px;
    height: 24px;
    padding: 6px 10px;
    font-size: 12px;
}

.el-button--primary {
    background: #eb3838;
    border-color: #eb3838;
}

.el-button--primary:hover {
    background: #ff5858;
    border-color: #ff5858;
}

.el-button--primary:active,
.el-button--primary:focus {
    background: #e03131;
    border-color: #e03131;
}
.el-input.is-active .el-input__inner, .el-input__inner:focus {
  border-color: #e03131;
}
.el-select .el-input.is-focus .el-input__inner:focus {
  border-color: #e03131;
}
.el-select .el-input__inner:focus {
  border-color: #e03131;
}
.el-select .el-input.is-focus .el-input__inner {
  border-color: #e03131;
}
.el-select-dropdown__item.selected {
  color: #e03131;
}

.el-button--primary.is-active,
.el-button--primary:active {
    background: #e03131;
    border-color: #e03131;
}

.cancel-btn {
  color: #fff;
  background-color: #BEBEBE;
}

.cancel-btn:hover {
  background-color: #BEBEBE;
  border-color: #BEBEBE;
  color: #fff;
  opacity: 0.9;
}

/*分页*/

.el-pagination {
    float: right;
    padding: 0 33px 0 0;
}

.el-pagination.is-background .el-pager li:not(.disabled):hover {
    color: #999
}

.el-pagination.is-background .el-pager li:not(.disabled).active {
    background-color: #EB3838;
    color: #fff;
}

.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .el-pager li {
    color: #999
}

.el-pager li {
    min-width: 27px;
    line-height: 27px;
    height: 27px;
    color: #999;
    font-size: 14px;
    font-weight: normal;
}

.el-pager li.active {
    background-color: #409EFF;
    color: #fff;
}


/*对话框*/

/*垂直水平居中*/
.center {
  & /deep/ .el-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0 !important;
    padding-bottom: 45px;
  }
}

.el-dialog__header {
    background: #fff;
    color: #333;
    padding: 19px 0px 19px 24px;
    .el-dialog__title {
        color: #333;
        font-size: 16px;
        font-weight: 400;
        font-family: 'MicrosoftYaHei';
    }
    .el-dialog__headerbtn {
        top: 20px;
        .el-dialog__close {
            color: #EB3838;
        }
    }
}

.el-dialog__body {
    margin: 0 24px 0px 24px;
    border-top: 1px solid #EFEAEA;
    padding: 0;
    padding-top: 23px;
}

.el-dialog__footer {
    display: inline-block;
    float: right;
    padding: 35px 16px 16px 0;
    width:100%;
}

.el-form-item {
    margin: 0;
}


/*表单*/

.el-form-item {
    //margin-bottom: 10px;
}

/*弹出框表单*/
.demo-form {
  padding-right: 29px;
  .el-form-item {
    height: 32px;
    line-height: 32px;
    margin-bottom: 16px;
    .el-form-item__content {
      height: 32px;
    }
  }
  .el-form-item__label {
    height: 32px;
    line-height: 32px;
  }
  .el-input {
    input {
      height: 32px !important;
      line-height: 32px;
    }
  }
  .el-input__suffix {
    display: flex;
    align-items: center;
  }
}

/*日历*/
.el-date-table td.today span {
  color: #EB3838;
  font-weight: 700;
}
.el-date-table td.current:not(.disabled) span {
  background-color: #EB3838;
}
.el-date-table td.available:hover {
  color: #EB3838;
}

// checked
.el-checkbox__inner:hover{
    border-color: #EB3838;
}
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner{
    background-color: #EB3838;
    border-color: #EB3838;
  }
